from lib2to3.fixes.fix_input import context
from django.http import JsonResponse
from django.shortcuts import render
from  common.models import  Customer
from django.template import engines

# Create your views here.
def customer(request):
    # 返回一个queryset对象，包含了所有记录
    queryset=Customer.objects.values()
    context={
        "status":"GET",
        "queryset":queryset,
    }
    if request.method=="GET":
        return  render(request,'c_TP/file01.html',context)

